package org.linlinjava.litemall.admin.beans.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.concurrent.atomic.AtomicReference;

/**
 * 息统计签证官
 *
 * @author yliyun
 * @date 2022/11/22
 */
@Data
public class CouponStatisticVo {
    /**
     * 优惠券名称
     */
    private String couponName;

    /**
     * 优惠券id
     */
    private Integer couponId;

    /**
     * 总计
     */
    private Integer total;

    /**
     * 接待全国矿工工会
     */
    private Integer recieveNum;

    /**
     * 盈余num
     */
    private Integer surplusNum ;

    /**
     * 使用num
     */
    private Integer usedNum;

    /**
     * 过期num
     */
    private Integer expiredNum;

    /**
     * 订单总价格
     */
    private BigDecimal totalOrderPrice;

    /**
     * 优惠券总价格
     */
    private BigDecimal totalCouponPrice;


    /**
     * 息统计签证官
     *
     * @param couponName       优惠券名称
     * @param total            总计
     * @param recieveNum       接待全国矿工工会
     * @param surplusNum       盈余num
     * @param usedNum          使用num
     * @param expiredNum       过期num
     * @param totalOrderPrice  订单总价格
     * @param totalCouponPrice 优惠券总价格
     */
    public CouponStatisticVo(String couponName,Integer total, Integer recieveNum, Integer surplusNum, Integer usedNum, Integer expiredNum, BigDecimal totalOrderPrice, BigDecimal totalCouponPrice) {
        this.couponName = couponName;
        this.total = total;
        this.recieveNum = recieveNum;
        this.surplusNum = surplusNum;
        this.usedNum = usedNum;
        this.expiredNum = expiredNum;
        this.totalOrderPrice = totalOrderPrice;
        this.totalCouponPrice = totalCouponPrice;
    }
}
